package com.travel.api

import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.context.annotation.EnableAspectJAutoProxy
import org.springframework.context.annotation.PropertySource
import org.springframework.context.annotation.PropertySources
import org.springframework.scheduling.annotation.EnableAsync
import tk.mybatis.spring.annotation.MapperScan

@EnableAsync
@MapperScan(basePackages= ["com.travel.api.interfaces"])
@SpringBootApplication
// @EnableAspectJAutoProxy(proxyTargetClass = true)
class TravelApplication

fun main(args: Array<String>) {
    runApplication<TravelApplication>(*args)
}
